package top.ranzhang.bean.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author ran
 * @since 2025-06-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("enrollments")
public class Enrollments implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "enrollment_id", type = IdType.AUTO)
    private Integer enrollmentId;

    @TableField("student_id")
    private Integer studentId;

    @TableField("course_id")
    private Integer courseId;

    @TableField("enrollment_date")
    private LocalDate enrollmentDate;

    @TableField("status")
    private String status;

    @TableField("payment_status")
    private Boolean paymentStatus;

    @TableField("fee_amount")
    private BigDecimal feeAmount;


}
